﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeviceMaintainGIS.Model.DevInfo
{
    /// <summary>
    /// 设备信息表
    /// </summary>
    public class DevInfoModel
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string DeviceId { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }
        /// <summary>
        /// 设备类型ID
        /// </summary>
        public string DeviceTypeId { get; set; }

        /// <summary>
        /// 设备类型名称
        /// </summary>
        public string DeviceTypeName { get; set; }

        /// <summary>
        /// 厂家序列号
        /// </summary>
        public string FactorySerial { get; set; }
        /// <summary>
        /// 公司序列号
        /// </summary>
        public string CompanySerial { get; set; }
        /// <summary>
        /// 厂家型号规格
        /// </summary>
        public string FModelSize { get; set; }
        /// <summary>
        /// 公司型号规格
        /// </summary>
        public string CModelSize { get; set; }
        /// <summary>
        /// 软件
        /// </summary>
        public string Software { get; set; }
        /// <summary>
        /// 软件版本号
        /// </summary>
        public string SoftwareVersion { get; set; }
        /// <summary>
        /// 采购负责人
        /// </summary>
        public string Purchaser { get; set; }
        /// <summary>
        /// 采购时间
        /// </summary>
        public System.DateTime PurchaseTime { get; set; }
        /// <summary>
        /// 质保期
        /// </summary>
        public System.DateTime WarrantyTime { get; set; }
        /// <summary>
        /// 设备厂家
        /// </summary>
        public string DeviceFactory { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string DeviceTel { get; set; }
        /// <summary>
        /// 维修厂家
        /// </summary>
        public string RepairFactory { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string RepairTel { get; set; }
        /// <summary>
        /// 状态 0未出库 1已出库
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 出库时间
        /// </summary>
        public System.DateTime OutTime { get; set; }
        /// <summary>
        /// 设备等级
        /// </summary>
        public int DeviceLevel { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentDevID { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public System.DateTime AddTime { get; set; }
        /// <summary>
        /// 维修厂家负责人
        /// </summary>
        public string RepairFactoryManager { get; set; }
        /// <summary>
        /// 是否有资料信息
        /// </summary>
        public bool IsDocument { get; set; }
        /// <summary>
        /// 是否有项目信息
        /// </summary>
        public bool IsPro { get; set; }
        /// <summary>
        /// 是否有基站信息
        /// </summary>
        public bool IsLoca { get; set; }
    }
    /// <summary>
    /// 设备扩展信息
    /// </summary>
    public class DevInfoExtendModel : DevInfoModel
    {
        /// <summary>
        /// 出库类型ID
        /// </summary>
        public string CodeId { get; set; }
        /// <summary>
        /// 出库途径编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 基站编号
        /// </summary>
        public string LocaId { get; set; }


    }


    /// <summary>
    /// 选择主设备的类
    /// </summary>
    public class SelDevInfoModel
    {
        /// <summary>
        /// ID
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string text { get; set; }
    }
    /// <summary>
    /// 设备类型信息
    /// </summary>
    public class DevTypeModel
    {
        /// <summary>
        /// 类型ID
        /// </summary>
        public string DeviceTypeId { get; set; }
        /// <summary>
        /// 类型名称
        /// </summary>
        public string DeviceName { get; set; }

    }

    public class DevTabDeviceLevel
    {
        /// <summary>
        /// 等级
        /// </summary>
        public int Level { get; set; }


    }
}
